
TEMPLATE = app
INCLUDEPATH += .

TARGET=qsopcast
target.path=/usr/local/bin
INSTALLS+=target

MOC_DIR=.moc
OBJECTS_DIR=.obj

#alsa
ALIB=$$system(ls /usr/lib|grep libasound)
contains(ALIB,libasound.so){
  LIBS+=-lasound
  DEFINES+=ALSA 
}else{
  ALIB=$$system(ls /usr/local/lib|grep libasound)
  contains(ALIB,libasound.so){
    LIBS+=-lasound
    DEFINES+=ALSA
  }
}

# Input
HEADERS += channel.h \
           config.h \
           fork.h \
           header.h \
           loadsave.h \
           mainwindow.h \
           menubar.h \
           mylabel.h \
           mylistitem.h \
           mypopupmenu.h \
           mystatusbar.h \
           pageplay.h \
           record.h \
           sopfork.h \
           sys.h \
           tabbar.h \
           tabwidget.h \
           timing.h
SOURCES += channel.cpp \
           config.cpp \
           fork.cpp \
           loadsave.cpp \
           main.cpp \
           mainwindow.cpp \
           menubar.cpp \
           mylabel.cpp \
           mystatusbar.cpp \
           pageplay.cpp \
           record.cpp \
           slot.cpp \
           sopfork.cpp \
           sys.cpp \
           tabwidget.cpp \
           timing.cpp
TRANSLATIONS += language_zh.ts
